package com.zc.domain;

import java.io.Serializable;

public class FaultItem implements Serializable{
	private String channel;
	private String name;
	private String timeStamp;
	
	public FaultItem(String channel,String name,String timeStamp) {
		this.channel=channel;
		this.name=name;
		this.timeStamp=timeStamp;
	}
	
	public FaultItem(String name,String timeStamp) {
		this.channel=null;
		this.name=name;
		this.timeStamp=timeStamp;
	}
	
	public String getChannel() {
		return channel;
	}
	public void setChannel(String channel) {
		this.channel = channel;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}
	
	@Override
	public String toString() {
		return "FaultItem [channel=" + channel + ", name=" + name + ", timeStamp=" + timeStamp + "]";
	}
}
